﻿#ifndef MYCOMMANDLINKBUTTON_H
#define MYCOMMANDLINKBUTTON_H

#include <QCommandLinkButton>
#include <QMenu>
#include <QUrl>

class MyCommandLinkButton : public QCommandLinkButton
{
    Q_OBJECT
public:
    explicit MyCommandLinkButton(QWidget *parent = nullptr);

    void setUrl(QString url);

    void openUrl();
signals:

public slots:

private:
    QMenu menu;
    QString url;
};

#endif // MYCOMMANDLINKBUTTON_H
